#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
#include<iomanip>
using namespace std;
int main()
{
	char c;
	cin >> c;
	cout <<"  " << c << "   " << endl;
	cout <<" " << c << c << c <<"  " << endl;
	cout <<c << c << c << c << c << endl;
	return 0;

}